package com.sitechasia.webx.components.xtable.toolbar;

import org.extremecomponents.table.core.TableModel;
import org.extremecomponents.table.view.AbstractHtmlView;

/**
 * 本类为列表无TOOLBAR的样例
 * @author Administrator
 *
 */
public class CustomWithoutToolbarView extends AbstractHtmlView {
	@Override
	protected void beforeBodyInternal(TableModel model) {

		getTableBuilder().tableStart();

		getTableBuilder().theadStart();

		getTableBuilder().titleRowSpanColumns();

		getTableBuilder().headerRow();

		getTableBuilder().theadEnd();

		getTableBuilder().tbodyStart();

	}

	@Override
	protected void afterBodyInternal(TableModel model) {
		getCalcBuilder().defaultCalcLayout();
		getTableBuilder().tbodyEnd();
		getTableBuilder().tableEnd();

	}


}